home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000456_news@columbia.edu _Tue Aug 15 23:42:49 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA10153
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 15 Aug 2000 23:42:49 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA13077
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 15 Aug 2000 23:42:48 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA05794
  10.     for kermit.misc@watsun.cc.columbia.edu; Tue, 15 Aug 2000 23:31:28 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: Clarence Dold <dold@yellow.rahul.net>
  13. Subject: Re: Newbie question
  14. Date: 16 Aug 2000 03:26:48 GMT
  15. Organization: a2i network
  16. Message-ID: <8nd1lo$7a5$1@samba.rahul.net>
  17. To: kermit.misc@columbia.edu
  18.  
  19. : Clarence Dold  <dold@rahul.net> wrote:
  20. : : I use K95 to log in to a "system", using the supplied login.ksc.
  21.     ...
  22. : : Can I have a moderately encrypted password file on unix, like the one for
  23. : : K95, so I don't have to key it in?
  24.  
  25. Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  26.  
  27. : There's a section in the C-Kermit book on this, starting on page 449 in the
  28. : second edition.  Of course, this is leaving aside the question of using a
  29. : secure transport in the first place (like Kerberos, SSL, SRP, etc).
  30.  
  31. This "system" is a simple gadget that happens to have a telnet interface,
  32. so I can't move to a secure transport, but the "pg 449" solution looks like
  33. the right spot.
  34.  
  35. I found two things that were confusing me, making me think I had done
  36. something wrong.  One is in the autotelnet.ksc provided on the
  37. ckermit 7.0 CDROM.  
  38. Feb 26 11:51 AUTOTELN.KSC. line 52
  39.     if > \fsplit(\%1) 1 {               ; Allow only one "word" here.
  40.  
  41. Since these are simple little devices, I don't have hosts entries for them,
  42. so I was putting in an IP address.  fsplit returns "4" for the ipaddress
  43. because of the . separator, and asks for a host name repeatedly.
  44. This wouldn't be a problem if I was calling the macro and supplying the
  45. args, but I tried "testing" first. ;-(
  46.  
  47. The other is a Windows-ism, and has to do with an associated snippet of code
  48. that I had been using on unix already, and was trying to move to K95.
  49. To track the separate "systems", I do some file name creation:
  50.     log session \v(macro)_\v(line)_\v(ndate).log
  51. which works fine on unix, but on Win2k, the filename truncates to the ":"
  52. that is part of the \v(line).  I fixed that portion with
  53.     log session \v(macro)_\ftrim(\v(line),":teln").\v(ndate).log
  54.  
  55. While I'm at it, I'd like the equivalent for awk gsub(), where
  56. I could substitute "_" for the "." in the IP address.
  57.  
  58.  
  59.  
  60. Eventually, I'm going to get good at this kermit stuff.
  61.  
  62. People are starting to hang around my cubbie, watching scripts flow by, 
  63. as well as the seamless telnet/ftp/login tasks that they are all
  64. forced to cobble their way through, with the standard mix of
  65. Solaris/Linux/Windows tools.
  66.  
  67. -- 
  68. ---
  69. Clarence A Dold - dold@rahul.net
  70.                 - San Jose & Pope Valley (Napa County) CA.